package com.zbkj.crmeb.statistics.response;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

@Data
@Accessors(chain = true)
@JsonIgnoreProperties(ignoreUnknown = true)
public class DailyVisitTrendResponse implements Serializable {

    private List<DailyVisitTrend> list;

    @Data
    @JsonIgnoreProperties(ignoreUnknown = true)
    public static class DailyVisitTrend {
        @ApiModelProperty(value = "日期，格式为 yyyymmdd")
        private String refDate;

        @ApiModelProperty(value = "打开次数")
        private Integer sessionCnt;

        @ApiModelProperty(value = "访问次数")
        private Integer visitPv;

        @ApiModelProperty(value = "访问人数")
        private Integer visitUv;

        @ApiModelProperty(value = "新用户数")
        private String visitUvNew;

        @ApiModelProperty(value = "人均停留时长 (浮点型，单位：秒)")
        private String stayTimeUv;

        @ApiModelProperty(value = "次均停留时长 (浮点型，单位：秒)")
        private String stayTimeSession;

        @ApiModelProperty(value = "平均访问深度 (浮点型)")
        private String visitDepth;
    }

}